package com.info.zhiduoduo.repository.entity.system;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 项目需求分类
 * </p>
 *
 * @author bob
 * @since 2018-12-23
 */
@Data
@Accessors(chain = true)
@TableName("zdd_system_projectcategory")
public class SystemProjectcategory extends Model<SystemProjectcategory> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "projectcategoryid", type = IdType.AUTO)
    private Integer projectcategoryid;
    private String projectcategory;
    private Integer parentid;
    @TableLogic
    private Integer deleted;
    private Integer sort;

    @Override
    protected Serializable pkVal() {
        return this.projectcategoryid;
    }

}
